<%@page import="management.system.view.servlet.ServletLogueo"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script>
	var StyleFile = "theme" + document.cookie.charAt(6) + ".css";
	document
			.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
	
	function enviar(){	

		document.forms[0].method="post";
		document.forms[0].action="<%=request.getContextPath()%>/login";
		document.forms[0].submit();

	}
		
</script>

</head>
<body>
		<div id="header" style="height: 100px;">
			<h2>My eCommerce Admin area</h2>
		</div>
	<div align="center">
		<div style="width: 200px;">
			<form id="form" >
				<fieldset id="personal">
					<legend>ACCESO AL PORTAL</legend>
					<label for="email">Email : </label> <input name="email" id="email"
						type="text" tabindex="2" size="30"/> <br /> <label
						for="pass">Password : </label> <input name="pass" id="pass"
						type="password" tabindex="2" size="30"/> <br />
						<div style="color: #FF0000;">${validaLogin}</div>
				</fieldset>
				<div>
					<input id="button1" type="button" value="Entrar" onclick="enviar();"/>
				</div>

			</form>
		</div>
	</div>
</body>
</html>